<template>
  <h1>resource</h1>
  <button v-debounce="() => fn(7)">按钮测试防抖</button>
</template>
<script setup lang="ts">
const fn = (val: number) => {
  console.log(val);

  console.log("debounce");
};
</script>
<style lang="less" scoped></style>
